﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace KGE.Define
{
    [Serializable]
    public class KMovieInfo
    {
        [Serializable]
        public class Frame
        {
            public double KeepSeconds;
            public Color FilterColor;
            public Point DrawLocation;
            
            public Size DrawSize;

            public int AvatarImageIndex;
            public string SoundFileName;

            public Frame()
            {
            }
        }

        public string Name;
        public Guid GUID;
        public string Version;
        public DateTime CreateTime;

        public double Length;
        public double Multiplier = 1.0;

        public Point OPoint;
        public Size Size;
        public List<string> AvatarKIPFileNames;
        public List<Frame> Frames = new List<Frame>();

        public KMovieInfo()
        {
            GUID = Guid.NewGuid();
            CreateTime = DateTime.Now;
        }
    }
}
